![]() |
PATH![]() |
![]() ![]() |
Obtains the part of the window that the user clicked upon.
pascal Boolean GetThemeWindowRegionHit (
ThemeWindowType flavor,
const Rect *inContRect,
ThemeDrawState state,
const ThemeWindowMetrics *metrics,
ThemeWindowAttributes inAttributes,
Point inPoint,
WindowRegionCode *outRegionHit);
Your window definition function should call the GetThemeWindowRegionHit function to determine where a specified mouse-down event occurred.